package com.xrit.service;

import com.xrit.exception.CustomException;
import com.xrit.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

/**
 * 预约设置的业务类
 */
public interface OrderSettingService {

    //2.通过年和月获取预约设置的数据
    List<Map> queryDataByYearAndMonth(int year,int month);

    //1.添加预约设置
    void addBatch(List<OrderSetting> orderSettings)throws CustomException;
}
